package com.csxy.six.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "service-user")  // 用户服务名称
public interface UserClient {

//    @GetMapping("/user/checkUserExists/{userId}")
//    boolean checkUserExists(@PathVariable Integer userId);
}
